package com.woniuxy.yuekeuser.service;

import com.woniuxy.yuekeuser.model.CampsiteFood;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.yuekeuser.model.CampsiteFoodPicture;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Freedom
 * @since 2020-11-03
 */
public interface ICampsiteFoodService extends IService<CampsiteFood> {

    public void addcampsiteFood(CampsiteFood campsiteFood);
    public void addCampsiteFoodImage(CampsiteFoodPicture campsiteFoodPicture);
    public int findCampsiteFoodIdByFoodName(String foodName);
    public List<CampsiteFood> findFoods(String campsiteName,int index,int pageSize);
    public int findFoodCount(String campsiteName);
    public List<CampsiteFoodPicture> findFoodImagesByFoodId(int id);

    public String findFoodImageByFoodId(int id);
}
